package com.coocaa.aries.codegen.model;

import lombok.Data;

/**
 * @author bijiahao
 * @description 带副本表使用
 * @date 2020/1/19 11:21
 */
@Data
public class VirgoTemplateConfigModel extends TemplateConfigModel {

    private String auditTaskProviderImpl;

    private String rlsUpdateProviderImpl;
    private String rlsUpdateProvider;
    private String historyMapper;
    private String historyXml;
    private String historyTableEntity;

    public VirgoTemplateConfigModel() {
        this.auditTaskProviderImpl = "/templates/virgo/auditTaskProviderImpl.java.vm";
        this.rlsUpdateProviderImpl = "/templates/virgo/rlsUpdateProviderImpl.java.vm";
        this.rlsUpdateProvider = "/templates/virgo/rlsUpdateProvider.java.vm";
        this.historyMapper = "/templates/virgo/historyMapper.java.vm";
        this.historyXml = "/templates/virgo/historyMapper.xml.vm";
        this.historyTableEntity = "/templates/virgo/historyTableEntity.java.vm";
        this.setEntity("/templates/virgo/originTableEntity.java.vm");
        this.setBizImpl("/templates/virgo/originTableBizImpl.java.vm");
        this.setQueryProvider("/templates/virgo/queryProvider.java.vm");
        this.setQueryProviderImpl("/templates/virgo/queryProviderImpl.java.vm");
        this.setUpdateProvider("/templates/virgo/updateProvider.java.vm");
        this.setUpdateProviderImpl("/templates/virgo/updateProviderImpl.java.vm");
        this.setQueryService("/templates/virgo/queryService.java.vm");
        this.setQueryServiceImpl("/templates/virgo/queryServiceImpl.java.vm");
    }
}
